const mutations = {
    setLoginStatus(state, payload) {
        state.user.isLogin = payload;
    },
    setAvatarUrl(state, payload) {
        state.user.avatarUrl = payload;
    },
    setNickName(state, payload) {
        state.user.nickName = payload;
    },
    setUid(state, payload) {
        state.user.uid = payload;
    },
    setEvent(state, payload) {
        state.user.event = payload;
    },
    setFollows(state, payload) {
        state.user.follows = payload;
    },
    setFolloweds(state, payload) {
        state.user.followeds = payload;
    },
    setAudio(state, payload) {
        state.audio = payload;
    },
    setLoginDialog(state, payload) {
        state.user.isShowLoginDialog = payload;
    },
    setLoading(state, payload) {
        state.user.beLoading = payload;
    }
}
export default mutations;
